﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace DataAnalyseTool.Utilities
{
  public class BasePage:System.Web.UI.Page
  {
    protected override void OnInit(EventArgs e)
    {
      if (ContextWeb.CurrentUser == null)
      {
        FormsAuthentication.RedirectToLoginPage();
        Response.End();
      }
      base.OnInit(e);
    }
  }
}